﻿using Abp.Runtime.Validation;
using Akso.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Classrooms.Dto
{
    /// <summary>
    /// 接收查询的传入参数Dto，带翻页和排序参数。
    /// </summary>
    public class GetClassroomsInput: PagedAndSortedInputDto, IShouldNormalize
    {
        public string Filter { get; set; }
        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "CreationTime";
            }
        }
    }
}
